<ion-view  animation="slide-in-up" cache-view="false">

    <style>
        ion-view .hide{display: block!important;}
    </style>
    <ion-content overflow-scroll="true" has-bouncing="true" on-scroll="true">
        <div class="showgoods ">

            <ion-list class="list xy-goods-list list-goodsinfo cart-goods" >
                <ion-item class="item item-thumbnail-left" ng-repeat="item in list" >
                    <img ng-src="{{item.goods_thumb}}" err-src="vendor/images/goods_thumb.png" ui-sref="goods.info({goods_id:item.goods_id})">
                    <h2>{{item.goods_title}}</h2>
                    <div class="xy-goods-item">
                        <div class="xy-goods-content">
                            月售{{item.goods_sale_per_month}}&nbsp;|&nbsp;剩余{{item.goods_stock}}
                        </div>
                        <div class="xy-goods-num">
                            <i class="ion-ios-plus-outline xy-goods-num-icon" ng-click="plusnum()"></i>
                            <span ng-show="item.goods_number">{{item.goods_number}}</span>
                            <i class="ion-ios-minus-outline xy-goods-num-icon" ng-show="item.goods_number" ng-click="minusnum()"></i>
                        </div>
                    </div>
                    <div class="xy-goods-price">￥{{item.goods_price}}</div>
                    <div class="check " ng-click="checkgoods()"><i ng-class="item.checked"></i></div>

                    <ion-option-button class="button-assertive" ng-click="delete_goods(item.goods_id)">
                        删除
                    </ion-option-button>
                </ion-item>
            </ion-list>
            <div class="block"></div>
    </ion-content>
    <ion-tabs class="tabs-icon-bottom  cart-bottom">
        <div class="row">
            <div class="col cart-btn">
                <div class="check" ng-click="selectall()"><i ng-class="select_status"></i></div>
                共计<span>￥{{total_price}}</span>
            </div>
            <div class="col col-33">
                <button class="goods-btn" ng-click="submit()">选好了</button>
            </div>
        </div>
    </ion-tabs>
</ion-view>